package com.fosung.frame.tsdemo.front.service;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import com.fosung.frame.modules.cms.entity.Category;
import com.fosung.frame.modules.sys.entity.User;
import com.fosung.frame.tsdemo.entity.meeting.Meeting;
import com.fosung.frame.tsdemo.entity.module.Module;
import com.fosung.frame.tsdemo.entity.notice.Notice;
import com.fosung.frame.tsdemo.entity.rulemodule.RuleModule;

@Transactional(readOnly = true)
public interface AppService {

	public User getUserByName(String loginName);
	
	public RuleModule getRuleModuleByUserId(String userId);
	
	public List<Category> findCategoryList(String module);
	
	public List<Notice> findNoticeList(String categoryId,String type,String userId);
	
	public List<Category> queryCategoryList(String categoryId);
	
	public List<Module> queryModuleList(String userId);
	
	public List<Meeting> findMeetingList(String categoryId,String userId);
}
